using System;
using System.Data;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;

namespace SalesAutomationService
{
    /// <summary>
    /// Summary description for WS_Partner
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    public class WS_Partner : System.Web.Services.WebService
    {

        SalesAutomationBL.CQueryDataBL objData;
        public WS_Partner()
        {
            //Uncomment the following line if using designed components 
            //InitializeComponent(); 
            objData = new SalesAutomationBL.CQueryDataBL();
        }

        #region Standard XML for grid display
        [WebMethod]
        public string ProcessServiceRequest(string strParameters)
        {
            return objData.GetSPData(strParameters);
        }
        #endregion
    }
}
